package com.practice.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
 * @program: tenghw-practice-demo
 * @author: tenghw
 * @create: 2024-01-19 01:27
 * @Version 1.0
 * @description:
 **/
@Data
public class Department implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String name;
    private int parentId;
    private List<Department> children;
}